package com.kx.yooli.kx.wechat.base.page;

/**
 * @author john_sqwen
 * @date 2024/3/23
 * @PROJECT_NAME wechat
 * @description create BasePageBean by john_sqwen
 * and  value is
 */
public class BasePageBean {
    private Long id ;
    private Integer page;
    private Integer pageSize;
    private String keyWord;

    public BasePageBean() {
    }

    public BasePageBean(Long id, Integer page, Integer pageSize, String keyWord) {
        this.id = id;
        this.page = page;
        this.pageSize = pageSize;
        this.keyWord = keyWord;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public String getKeyWord() {
        return keyWord;
    }

    public void setKeyWord(String keyWord) {
        this.keyWord = keyWord;
    }

    @Override
    public String toString() {
        return "BasePageBean{" +
                "id=" + id +
                ", page=" + page +
                ", pageSize=" + pageSize +
                ", keyWord='" + keyWord + '\'' +
                '}';
    }

    @Override
    public int hashCode() {
        return super.hashCode();
    }

    @Override
    public boolean equals(Object obj) {
        return super.equals(obj);
    }

    @Override
    protected Object clone() throws CloneNotSupportedException {
        return super.clone();
    }
}
